package com.jbit.jboa.entity;

import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;

/**
 * Department entity. @author MyEclipse Persistence Tools
 */

public class Department implements java.io.Serializable {

	// Fields

	private BigDecimal id;
	private String managerSn;
	private String name;
	private Set employees = new HashSet(0);

	// Constructors

	/** default constructor */
	public Department() {
	}

	/** minimal constructor */
	public Department(BigDecimal id) {
		this.id = id;
	}

	/** full constructor */
	public Department(BigDecimal id, String managerSn, String name,
			Set employees) {
		this.id = id;
		this.managerSn = managerSn;
		this.name = name;
		this.employees = employees;
	}

	// Property accessors

	public BigDecimal getId() {
		return this.id;
	}

	public void setId(BigDecimal id) {
		this.id = id;
	}

	public String getManagerSn() {
		return this.managerSn;
	}

	public void setManagerSn(String managerSn) {
		this.managerSn = managerSn;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set getEmployees() {
		return this.employees;
	}

	public void setEmployees(Set employees) {
		this.employees = employees;
	}

}